/*
 * ImppBitmapButton.h
 *
 *  Created on: 10.06.2009
 *      Author: h3llfire
 */

#ifndef IMPPBITMAPBUTTON_H_
#define IMPPBITMAPBUTTON_H_

#include <wx/bmpbuttn.h>

namespace Impp {

class ImppBitmapButton : public wxBitmapButton{
public:
	ImppBitmapButton(wxWindow *parent,
            wxWindowID id,
            const wxBitmap& bitmap,
            const wxPoint& pos = wxDefaultPosition,
            const wxSize& size = wxDefaultSize,
            long style = wxBU_AUTODRAW,
            const wxValidator& validator = wxDefaultValidator,
            const wxString& name = wxButtonNameStr);

	void setNoPadding();
	void onMouseEnter(wxMouseEvent & event);

};



inline ImppBitmapButton::ImppBitmapButton(wxWindow *parent,
        wxWindowID id,
        const wxBitmap& bitmap,
        const wxPoint& pos,
        const wxSize& size,
        long style,
        const wxValidator& validator,
        const wxString& name) :

        wxBitmapButton(parent, id, bitmap, pos, size, style, validator, name)	 {};


}

#endif /* IMPPBITMAPBUTTON_H_ */
